package service.reader.impl;

import dao.AdminDao;
import dao.reader.impl.AdminDaoImpl;
import service.reader.AdminService;

/**
 * AdminServiceImpl
 *
 * @author ChenYanMei
 * @version 2023/8/29
 */
public class AdminServiceImpl implements AdminService {
    private AdminDao dao = new AdminDaoImpl();
    /**
     * 管理员登录
     *
     * @param userName 用户名
     * @param password 密码
     * @return
     */
    @Override
    public String login(String userName, String password) {
        return dao.login(userName, password);
    }
}
